package com.woniuxy.cloud.batteryassembly.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author gaorui
 * @since 2022-02-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class BatteryDamage implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 损坏程度id
     */
      @TableId(value = "damage_id", type = IdType.AUTO)
    private Integer damageId;

    /**
     * 损坏程度等级
     */
    private String damageLevel;

    /**
     * 损坏程度备注
     */
    private String damageRemark;

    /**
     * 赔偿金额占原价比例
     */
    private Double damageIndemnify;

    /**
     * 逻辑删除,0表示未删除，1表示已经删除
     */
    private Integer damageIsdel;

    /**
     * 记录新增时间
     */
    private LocalDateTime rawAddTime;

    /**
     * 记录更新时间
     */
    private LocalDateTime rawUpdateTime;


}
